package cn.roadtrip.mtravelbusinessmodule.spi.login;

import cn.roadtrip.mtravelbusinessmodule.dao.userlayout.po.UserInforWithBLOBs;
import cn.roadtrip.utilmodule.util.DataBean;
import org.springframework.plugin.core.Plugin;

import java.util.Map;

public interface UserLogin  extends Plugin<String> {
    /**
     * 登录以及注册
     * @param properties
     * @return
     */
    DataBean<UserInforWithBLOBs> loginAndRegistry(Map<String,String> properties);
}
